<?php
require_once "../core.php";
?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>帮助中心</title>
    <link href="../static/css/bootstrap.min.css" rel="stylesheet">
    <script src="../static/js/jquery.min.js" type="text/javascript"></script>
    <script src="../static/js/bootstrap.min.js" type="text/javascript"></script>
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <link rel="stylesheet" href="style.css">
    <style type="text/css">
        body {
            background-color: #fff;
        }
    </style>
</head>
<body>

<div id="head" style="position: relative;">
    <a href="javascript:history.go(-1)" class="back_btn">
        <span class="glyphicon glyphicon-chevron-left " style="line-height: 45px"></span>
    </a>
    <span style="font-size: 25px;">帮助中心</span>
</div>
<div class="col-xs-12" style="margin-top: 15px;">
    <ul class="nav nav-tabs nav-justified">
        <li class="active"><a href="#home" data-toggle="tab">业绩考核</a></li>
        <li><a href="#profile" data-toggle="tab">公司活动.政策</a></li>
        <li><a href="#messages" data-toggle="tab">公司通知</a></li>
        <li><a href="#settings" data-toggle="tab">操作说明</a></li>
    </ul>
    <div class="tab-content">
        <div class="tab-pane active" id="home">
            <?php
            $a = $core->GetTagArticle(Article::Achievement);
            echo $a["details"];
            ?></div>
        <div class="tab-pane" id="profile">
            <?php
            $b = $core->GetTagArticle(Article::Activity);
            echo $b["details"];
            ?></div>
        <div class="tab-pane" id="messages">
            <?php
            $c = $core->GetTagArticle(Article::Inform);
            echo $c["details"];
            ?></div>
        <div class="tab-pane" id="settings">
            <?php
            $d = $core->GetTagArticle(Article::Caption);
            echo $d["details"];
            ?></div>
    </div>
</div>

</body>
</html>
